﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.From {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_DeviceSignalStatus", DisableSyncStructure = true)]
	public partial class TDeviceSignalStatus {

		/// <summary>
		/// 唯一标识主键
		/// </summary>
		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 设备Id十进制形式
		/// </summary>
		[JsonProperty, Column(Name = "deviceId")]
		public long? DeviceId { get; set; }

		/// <summary>
		/// 网络模块Id
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string ModularId { get; set; }

		/// <summary>
		/// 1.校验通过.2.校验不通过.3.没回复模块正常.4.网络无连接,5.网络已连接,6.数据包ID为0,7.校验通过录入失败
		/// </summary>
		[JsonProperty]
		public int? Status { get; set; }

		/// <summary>
		/// 设备终端Id标识
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

	}

}
